"use strict";
//属性接口
function sayWorld(user) {
    console.log("interface : 1 " + user.name);
}
var u = {
    name: "Tom",
    age: 20
};
function sayHello(user) {
    console.log("interface : 2 " + user.name);
}
sayWorld({ name: "Lily", age: 20 });
sayHello(u);
var sayMethod = function (name, age) {
    return name + age;
};
console.log(sayMethod("Methord", 20));
var arr1 = ["aaa", "bbb"];
console.log(arr1);
var SayMan = /** @class */ (function () {
    function SayMan(name, age) {
        this.name = name;
        this.age = age;
    }
    SayMan.prototype.say = function (word) {
        console.log("class interface say" + word);
        return word;
    };
    return SayMan;
}());
var iman = new SayMan("Tom", 20);
iman.say("Gan");
var Index = /** @class */ (function () {
    function Index() {
    }
    return Index;
}());
